﻿using System;

namespace SindelsStarship
{
    class Enemy
    {
        int posX;

        public int PosX
        {
            get { return posX; }
            set { posX = value; }
        }
        int posY;

        public int PosY
        {
            get { return posY; }
            set { posY = value; }
        }
        string symbol;

        public string Symbol
        {
            get { return symbol; }
            set { symbol = value; }
        }
        ConsoleColor color;

        public ConsoleColor Color
        {
            get { return color; }
            set { color = value; }
        }

        bool isPosInPlayField;

        public bool IsPosInPlayField
        {
            get { return isPosInPlayField; }
            set { isPosInPlayField = value; }
        }

        BonusType.Bonuses bonus;

        internal BonusType.Bonuses Bonus
        {
            get { return bonus; }
            set { bonus = value; }
        }

        public Enemy(int positionX, int positionY, string symbol = "^V^", ConsoleColor color = ConsoleColor.Yellow, BonusType.Bonuses bonus = BonusType.Bonuses.None)
        {
            this.posX = positionX;
            this.posY = positionY;
            this.symbol = symbol;
            this.color = color;
            this.bonus = bonus;
            this.isPosInPlayField = true;
        }
    }
}
